<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>书签预览</title>
    <style>
         :root {
            --background-color: #1a1a1a;
            --text-color: #e0e0e0;
            --border-color: #333;
            --hover-color: #2d2d2d;
            --accent-color: #4a9eff;
            --header-background: #252525;
            --table-row-hover: #2a2a2a;
        }
        
        body {
            font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            margin: 0;
            padding: 20px;
            padding-bottom: 80px;
            background-color: var(--background-color);
            color: var(--text-color);
            line-height: 1.6;
        }
        
        h1 {
            color: var(--accent-color);
            font-weight: 500;
            margin-bottom: 30px;
            font-size: 24px;
        }
        
        #bookmarkTable {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            border-radius: 8px;
            overflow: hidden;
            background: var(--header-background);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        #bookmarkTable th,
        #bookmarkTable td {
            padding: 12px 16px;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }
        
        #bookmarkTable th {
            background-color: var(--header-background);
            font-weight: 500;
            text-transform: uppercase;
            font-size: 12px;
            letter-spacing: 0.5px;
        }
        
        #bookmarkTable tr:hover {
            background-color: var(--table-row-hover);
        }
        
        #bookmarkTable td {
            font-size: 14px;
        }
        
        #bookmarkTable a {
            color: var(--accent-color);
            text-decoration: none;
        }
        
        #bookmarkTable a:hover {
            text-decoration: underline;
        }
        
        #exportCSVBtn {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 12px 24px;
            font-size: 14px;
            cursor: pointer;
            background-color: var(--accent-color);
            color: white;
            border: none;
            border-radius: 6px;
            box-shadow: 0 2px 8px rgba(74, 158, 255, 0.2);
            transition: all 0.3s ease;
        }
        
        #exportCSVBtn:hover {
            background-color: #3d8ce4;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
        }
        /* 自定义滚动条样式 */
        
         ::-webkit-scrollbar {
            width: 8px;
        }
        
         ::-webkit-scrollbar-track {
            background: var(--background-color);
        }
        
         ::-webkit-scrollbar-thumb {
            background: #444;
            border-radius: 4px;
        }
        
         ::-webkit-scrollbar-thumb:hover {
            background: #555;
        }
    </style>
</head>

<body>
    <h1>书签预览</h1>
    <button id="exportCSVBtn">导出书签为 CSV 文件</button>

    <table id="bookmarkTable">
        <thead>
            <tr>
                <th>标题</th>
                <th>URL</th>
                <th>文件夹路径</th>
                <th>添加日期</th>
            </tr>
        </thead>
        <tbody id="bookmarkBody">
            <!-- 书签数据将被插入到这里 -->
        </tbody>
    </table>
    <script src="options.js"></script>
</body>

</html>